package com.ruoyi.system.mapper.smy;

import com.ruoyi.common.core.domain.smy.DistributionSetting;

import java.util.List;

public interface DistributionSettingMapper {
	public DistributionSetting selectDistributionSettingById(Long id);

	public List<DistributionSetting> selectDistributionSettingList(DistributionSetting distributionSetting);

	public int insertDistributionSetting(DistributionSetting distributionSetting);

	public int updateDistributionSetting(DistributionSetting distributionSetting);

	public int deleteDistributionSettingById(Long id);

	public int deleteDistributionSettingByIds(Long[] ids);

	/**
	 *  查询最新的设置信息
	 * @Date 2022/10/20 17:16
	 * @author ZhanCheng.Li
	 * @return
	 */
	DistributionSetting getLastSetting();
}
